package com.itany.corejava.code07_面向对象.lianxi2;

/**
 * @author MissChen
 * @version 1.0
 * @date 2023 年11月06日 9:19
 */
public class Student {
    private String name;
    private double score;

    public Student(String name, double score) {
        this.name = name;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }


}
